dict = {}
print(type(dict), dict)

student = {"name": "关羽", "age": 10000, "sex": "男"}
print(type(student), student)

# 字典的一些操作
# student["name"] = "张飞"
# print(student)
#
# student.setdefault("job","卖猪肉")
# print(student)
#
# # 删除
# del student["age"]
# print(student)
#
# student.pop("sex")
# print(student)

# 查询
student["name"]
print(student)

print(student.values())

print("name1" not in student.keys())

